package com.lushu.events {
import flash.events.Event;
import flash.geom.Point;

public class ZoneUpdateEvent extends Event {
    public static const NAME:String = "zoneUpdated";
    private var layer_:int;
    private var usedTiles_:Vector.<Point>;

    public function ZoneUpdateEvent(layer:int, usedTiles:Vector.<Point>) {
        layer_ = layer;
        usedTiles_ = usedTiles;
        super(NAME);
    }

    public function get layer():int {
        return layer_;
    }

    public function get usedTiles():Vector.<Point> {
        return usedTiles_;
    }
}
}